<html>
<head>
<title>www.vintageboutique.lt</title>
</head>
<body>

<div style="max-width: 630px; padding: 10px; background-color: #eeeeee;">

    <div>
        <?php echo link_to(
                    image_tag(
                        'http://eshop.interateitis.lt/images/main_logo.png'
                        , array(
                            'alt' => 'eshop'
                            , 'title' => 'eshop'
                            , 'style' => 'width: 200px;'
                            , 'target' => '_blank'
                        )
                    )
                    , 'http://eshop.interateitis.lt'
                )?>
    </div>

    <hr style="height: 1px; background-color: #dddddd; border: 0;" />

    <h3 style="min-height: 25px; line-height: 25px; padding: 0 5px; margin: 0; background-color: #ffcccc;"><?php echo $header;?></h3>

    <?php foreach( $newsObjs as $obj ): ?>

        <p>
            <h4 style="color: #990033;"><?php echo $obj->getTitle(); ?></h4>
            <div style="text-align: justify;">
                <div style="float: left; margin: 0 10px 10px 0;">
                    <?php if($obj->getImageUname()): ?>
                        <?php echo image_tag('http://eshop.interateitis.lt/images/gallery/tiny/' . $obj->getImageUname()
                                            , array('alt' => '-'
                                                , 'title' => ''));?>
                    <?php endif; ?>
                </div>
            <?php echo $obj->getText();?>
            </div>
            <div style="clear: both;"></div>
            <hr style="height: 1px; background-color: #dddddd; border: 0;" />
        </p>

    <?php endforeach; ?>

</div>

</body>
</html>
